package com.lanou.utp.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import javax.xml.soap.Text;
import java.io.Serializable;
import java.util.Date;

/**
 * @author MaQingYun
 */
@Data
public class Diary implements Serializable {

    private Long id;
    private Long studentId;  /**  学生id */
    private Long taskId; /**  任务id */
    private Text img; /**  图片动态 */
    private Text content; /**  日志内容 */
    private Boolean excellent; /** 是否推优 */

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;/*创建时间*/

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updateTime;/*更新时间*/

    private Integer status;/*状态*/

}
